
<!-- Sidebar -->
<?php
	$tasknum = $this->requestAction('/users/tcount');
    //echo pr($tasknum);
?>
                <aside class="grid_1">

                    <nav class="global">
                        <ul class="clearfix">
                            <li class="active"><?php echo $this->Html->link('Home', '/jobs/jview', array('class' => 'nav-icon icon-house'));?></li>
                          
                            <li><?php echo $this->Html->link('My Tasks<span>'.$tasknum.'</span>', array('controller' => 'jobs', 'action' => 'mytasks'), array('class' => 'nav-icon icon-tick', 'escape' => false)); ?></li>
                            
                        </ul>
                    </nav>

                  
                        <?php echo $this->element('subnav'); ?>
                        <!-- end subnav -->

                </aside>

                <!-- Sidebar End -->

